package bai6.model;

import java.text.ParseException;


public class Profile extends Employee {
	private String address;
	private String phone;
	public Profile(int id, String name, int luong, String date, String dc,
			String gt, String startDate, String cv, String username,
			String email, String address, String phone) {
		super(id, name, luong, date, dc, gt, startDate, cv, username, email);
		this.address = address;
		this.phone = phone;
	}
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void display() throws ParseException{
		super.display();
		System.out.println("Address: "+getAddress());
		System.out.println("Phone: "+getPhone());
	}
}
